import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.directive('limit', {
  inserted(el, { value }) {
    const res = ['admin', 'zhangsan', 'lisi'].includes(value)
       el.disabled =!res
   }
})
new Vue({
  render: (h) => h(App),
}).$mount('#app')
